package com.hunan.chinamobile.dao;

import com.hunan.chinamobile.core.MyMapper;
import com.hunan.chinamobile.dto.BaseStationDTO;
import com.hunan.chinamobile.dto.BaseStationInfoDTO;
import com.hunan.chinamobile.model.BaseStation;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BaseStationMapper extends MyMapper<BaseStation> {

    BaseStationDTO findDTOById(@Param("bsId") String bsId);

    List<BaseStationInfoDTO> findByException(@Param("cityId")String cityId,@Param("bsName") String bsName,@Param("ok") Boolean ok);

    BaseStation check(@Param("bsName") String bsName);

    List<BaseStationDTO> findList(@Param("cityId") String cityId, @Param("bsName") String bsName);

    List<BaseStation> findByCityId(@Param("cityId") String cityId);
}